package com.simple.portal.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.simple.base.dao.BaseDAO;
import com.simple.portal.dao.IPartnerTypeRelDAO;
import com.simple.portal.vo.PartnerTypeRelVO;

@Repository("partnerTypeRelDAO")
public class PartnerTypeRelDAOImpl  extends BaseDAO implements IPartnerTypeRelDAO{

	@Override
	public PartnerTypeRelVO findById(final String id) {
		return super.get(PartnerTypeRelVO.class, id);
	}

	@Override
	public void save(final PartnerTypeRelVO partnerTypeRelVO) {
		super.save(partnerTypeRelVO);
	}

	@Override
	public void update(final PartnerTypeRelVO partnerTypeRelVO) {
		super.update(partnerTypeRelVO);
	}
	
	@Override
	public List<PartnerTypeRelVO> findAll() {
		return super.query(PartnerTypeRelVO.class);
	}

	@Override
	public void delete(final PartnerTypeRelVO partnerTypeRelVO) {
		super.delete(partnerTypeRelVO);
	}

	@Override
	public void delete(final String id) {
		super.delete(PartnerTypeRelVO.class,id);
	}

}
